﻿<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title></title>
	<link rel="stylesheet" type="text/css" href="css/normalize.css" />
	<link rel="stylesheet" type="text/css" href="css/htmleaf-demo.css">
	<link rel="stylesheet" href="css/style.css">
	<style>
		a{
			color: white;
			outline: none;
			text-decoration: none;
		}
	</style>
</head>
<body>
	<div class="htmleaf-container">
		<div class="wrapper">
		  	<div class="cols" id="cols">		
			</div>
		 </div>
	</div>
<script type="text/javascript" src="https://s4.cnzz.com/z_stat.php?id=1279624779&web_id=1279624779"></script>
</body>
</html>
<script>

		var  kang  = document.getElementById('cols');
		let html

let $name2  = [
{"name":"Python爬虫","id":"电子书 提取码nf3q","href":"https://pan.baidu.com/s/1mEed3rxRkT4gsf4kpLNI0g","img":"1"},
{"name":"前端电子书","id":"电子书 提取码nf3q","href":"https://pan.baidu.com/s/1-8m8XMbLdfv0yhw6zswsYA","img":"1"},
{"name":"linux电子书","id":"电子书 提取码nf3q","href":"https://pan.baidu.com/s/1u-UYICkgDbFXd6btVoOKWQ","img":"1"},
{"name":"数据库电子书","id":"电子书 提取码nf3q","href":"https://pan.baidu.com/s/1kJeh65xa88IVvIKJHrt7eA","img":"1"},
{"name":"其他电子书","id":"电子书 提取码nf3q","href":"https://pan.baidu.com/s/1mPKWP3DwL04fIYzoWIaqUw","img":"1"},
{"name":"电子书合集","id":"电子书 提取码nf3q","href":"https://pan.baidu.com/s/1iXBnhdLhrj6q1EUaT1TumA","img":"1"},
]
		
		for (let index = 0; index < $name2.length; index++) {

			const name = $name2[index].name,
			 id = $name2[index].id,
			 href = $name2[index].href,
			 img = $name2[index].img;

			
		html  += `<div class="col" ontouchstart="this.classList.toggle('hover');">
						<div class="container">
							<div class="front" style="background-image: url(/soft-img/`+img+`.jpg)">
								<div class="inner">
									<p>`+name+`</p>
		              <span>`+id+` </span>
								</div>
							</div>
							<div class="back">
								<div class="inner">
									<a href="`+href+`" target="_blank"><p>点击下载</p></a>
								</div>
							</div>
						</div>
		</div>`
		
		}

		let html2 = html.replace("undefined","");

		kang.innerHTML = html2;
		
		
</script>